// ============================== 导入依赖 ============================== //

import VueRouter from 'vue-router'
import NotFound from './404'
import Detail from './Detail'
import Mobile from './Mobile'
import Preview from './Preview'

// ============================== 导出路由 ============================== //

const router = new VueRouter({
  mode: 'history',
  base: process.env.VUE_APP_RUN,
  routes: [Detail, Mobile, Preview, NotFound],
})

export default router
